package com.company.pedidos.domain;

import java.io.Serializable;
import javax.persistence.*;

import com.company.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * The persistent class for the log database table.
 * 
 */
@Entity
public class Log extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Temporal(TemporalType.TIMESTAMP)
	private Date fechaHoraRequest;

	@Temporal(TemporalType.TIMESTAMP)
	private Date fechaHoraResponse;

	private String method;

	private String movilId;

	private String operacionId;

	@Lob
	private String request;

	@Lob
	private String requestHeader;

	@Lob
	private String response;

	@Lob
	private String responseHeader;

	private int status;

	private BigDecimal time;

	private String url;

	private String user;

	private String userId;

	public Log() {
	}

	public Date getFechaHoraRequest() {
		return this.fechaHoraRequest;
	}

	public void setFechaHoraRequest(Date fechaHoraRequest) {
		this.fechaHoraRequest = fechaHoraRequest;
	}

	public Date getFechaHoraResponse() {
		return this.fechaHoraResponse;
	}

	public void setFechaHoraResponse(Date fechaHoraResponse) {
		this.fechaHoraResponse = fechaHoraResponse;
	}

	public String getMethod() {
		return this.method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getMovilId() {
		return this.movilId;
	}

	public void setMovilId(String movilId) {
		this.movilId = movilId;
	}

	public String getOperacionId() {
		return this.operacionId;
	}

	public void setOperacionId(String operacionId) {
		this.operacionId = operacionId;
	}

	public String getRequest() {
		return this.request;
	}

	public void setRequest(String request) {
		this.request = request;
	}

	public String getRequestHeader() {
		return this.requestHeader;
	}

	public void setRequestHeader(String requestHeader) {
		this.requestHeader = requestHeader;
	}

	public String getResponse() {
		return this.response;
	}

	public void setResponse(String response) {
		this.response = response;
	}

	public String getResponseHeader() {
		return this.responseHeader;
	}

	public void setResponseHeader(String responseHeader) {
		this.responseHeader = responseHeader;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public BigDecimal getTime() {
		return this.time;
	}

	public void setTime(BigDecimal time) {
		this.time = time;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUser() {
		return this.user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}